package com.tx.websocket.demo.common;

public enum UserLevelEnum {
    SUPER_USER(0, "超级管理员"),
    ADMIN_USER(1, "管理员"),
    COMMONER_USER(2, "普通用户");

    private Integer value;
    private String desc;

    private UserLevelEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
